﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Leave_Mes.aspx.cs" Inherits="WebSite_CodeMan.Sys_CodeMan_Manage.Admin_Leave_Mes" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../Css_Style/Manage.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="../JavaScript/Jquery.js"></script>
    <script type="text/javascript" src="../JavaScript/Admin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
        <div class="Body_Title">
            内容信息管理 》》内容信息</div>
        <div class="Body_Search">
            信息标题／评论信息：<input id="txtSearch" type="text" style="width:300px;" 
                runat="server" maxlength="10"/>
            <asp:Button ID="BtnSeach" runat="server" Font-Bold="True" ForeColor="#006600" 
                onclick="BtnSeach_Click" Text=" 查询 " />
        </div>
            <asp:Repeater ID="RpProduct" runat="server">
        <HeaderTemplate>
            <table cellpadding="2" cellspacing="1" class="Admin_Table">
                <thead>
                    <tr class="Admin_Table_Title">
                        <th style="width:5%;">选择</th>
                        <th style="width:5%;">操作</th>
                        <th style="width:5%;">类型</th>
                        <th style="width:25%;">文章标题</th>
                        <th style="width:20%;">评论内容</th>
                        <th style="width:15%;">IP</th>
                        <th style="width:15%;">时间</th>
                    </tr>
                </thead><tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="center"><input type="checkbox" value='<%#Eval("T_LeaveID") %>'   name="CheckMes"/></td>
                <td><a href='Admin_Update_Leave.aspx?LID=<%#Eval("T_LeaveID") %>' title="回复信息.."><%# (Eval("T_Flag").ToString() == "0") ? "<font color=red>回复</font>" : "<font color=green>已回复</font>"%></a></td>
                 <td><%#(Eval("T_LeaveType").ToString() == "0") ? "<font color=green>评论</font>" : "<font color=red>留言</font>"%></td>
                 <td class="TIP"  myTitle="" title="<%#Eval("T_NoteTitle")%>"><%# Common.GetMes.GetFirstString(Eval("T_NoteTitle"), 40)%></td>
                <td class="TIP"  myTitle="" title='<%# Server.HtmlEncode(Eval("T_LeaveNote").ToString())%>'><%# Common.GetMes.GetFirstString(Eval("T_LeaveNote").ToString(), 30)%></td>
                <td class="TIP"  myTitle="" title='<%# Eval("T_LeaveIP")%>' ><%# WebSite_CodeMan.BaseClass.BaseClass.GetNameByIP(Eval("T_LeaveIP").ToString(), Page)%></td>
                <td><%# Eval("T_DateTime","{0:yyyy/MM/dd HH:mm:ss}")%></td>
            </tr>
        </ItemTemplate>
        <FooterTemplate></tbody></table></FooterTemplate>
    </asp:Repeater>
     <div class="Body_Search">
        <div class="page_Left">
            <input id="BtnAllSelect" type="button" value="全选" />&nbsp;<asp:Button ID="BtnAllDel" 
                runat="server" Text="删除" onclick="BtnAllDel_Click" ForeColor="Red" />
         </div>
        <div class="page_Right">
            <webdiyer:AspNetPager ID="PagerNote" runat="server" AlwaysShow="True"
                CustomInfoHTML="共[%RecordCount%]条，[%CurrentPageIndex%] / [%PageCount%] 页" 
                FirstPageText="[ 首页 ]" LastPageText="[ 末页 ]" NextPageText="[ 下一页 ]" 
                NumericButtonCount="15" onpagechanged="BtnSeach_Click" PageSize="15" 
                PrevPageText="[ 上一页 ]" ShowCustomInfoSection="Left">
            </webdiyer:AspNetPager>
         </div>
    </div>
    </div>
    <asp:HiddenField ID="HSelectID" runat="server" Value=""/>
    </form>
</body>
</html>
